package com.example.codegenerator.config;

import com.example.codegenerator.generator.EhomeAutoGenerator;
import com.example.codegenerator.properties.EhomeAutoGeneratorProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * 单元测试配置类入口
 * @author 林雷
 * @date 2021年12月22日15:37:48
 **/
@Configuration
@EnableConfigurationProperties(EhomeAutoGeneratorProperties.class)
public class EhomeCodeGenConfig {
    @Bean
    public EhomeAutoGenerator initAppToken(){
        return new EhomeAutoGenerator();
    }

}

